package com.example.exam.sysPermission.entity;

import java.io.Serializable;
import java.util.Date;

public class SysPermissionBean implements Serializable {

	private static final long serialVersionUID = 1L;

	//权限id	
	private Integer id;
	//权限名称	
	private String name;
	//权限编码	
	private String coding;
	//资源id	
	private Integer resourceId;
	//创建时间	
	private Date createTime;
	//创建人	
	private Integer createUser;
	//状态 1:正常  -1:删除	
	private Integer state;

	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}
	public void setName(String name){
		this.name=name;
	}
	public String getName(){
		return name;
	}
	public void setCoding(String coding){
		this.coding=coding;
	}
	public String getCoding(){
		return coding;
	}
	public void setResourceId(Integer resourceId){
		this.resourceId=resourceId;
	}
	public Integer getResourceId(){
		return resourceId;
	}
	public void setCreateTime(Date createTime){
		this.createTime=createTime;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateUser(Integer createUser){
		this.createUser=createUser;
	}
	public Integer getCreateUser(){
		return createUser;
	}
	public void setState(Integer state){
		this.state=state;
	}
	public Integer getState(){
		return state;
	}
	
	//权限是否存在
	private Integer permissionExit;

	public Integer getPermissionExit() {
		return permissionExit;
	}
	public void setPermissionExit(Integer permissionExit) {
		this.permissionExit = permissionExit;
	}
	
	

}

